package com.gitee.minimalismstyle.fresh.common.security.domain

import org.springframework.security.core.GrantedAuthority

class FreshGrantedAuthority(val roleId : Long, val roleCode: String) : GrantedAuthority {
    override fun getAuthority(): String {
       return "ROLE_${roleCode}"
    }
}